# -*- coding: utf-8 -*-
"""
common模块初始化文件
"""

# 导入原有功能
from .common import (
    extract_person_info_for_gbglqx,
    assemble_gbglqx_result,
    extract_duplicate_check_letters,
)

# 导入新创建的模块
from .config import LLM_CONFIG, DICT_TYPES, DICT_SHEETS
from .dict_manager import get_dict_name_cached, DICT_CACHE
from .keyword_extractor import extract_tygjz, extract_zdygjz
from .threat_extractor import extract_yy
from .cadre_extractor import extract_sggb_names
from .authority_extractor import extract_gbglqx

# 统一判重模块已替代原有判重功能
from .unified_duplicate_checker import (
    check_duplicate_for_network_case,
    check_duplicate_for_letter_case,
    check_cfj_duplicate,
)
from .category_classifier import classify_xflb
from .summary_classifier import extract_wtzy, extract_fl

# 模块导出
__all__ = [
    # 原有功能
    "extract_person_info_for_gbglqx",
    "assemble_gbglqx_result",
    "extract_duplicate_check_letters",
    # 配置
    "LLM_CONFIG",
    "DICT_TYPES",
    "DICT_SHEETS",
    # 字典管理
    "get_dict_name_cached",
    "DICT_CACHE",
    # 关键字提取
    "extract_tygjz",
    "extract_zdygjz",
    # 扬言提取
    "extract_yy",
    # 省管干部提取
    "extract_sggb_names",
    # 干部管理权限提取
    "extract_gbglqx",
    # 重复检查（已统一到unified_duplicate_checker）
    # 统一判重
    "check_duplicate_for_network_case",
    "check_duplicate_for_letter_case",
    "check_cfj_duplicate",
    # 信访分类
    "classify_xflb",
    # 摘要和分类提取
    "extract_wtzy",
    "extract_fl",
]
